package com.kmproject.haifu.mvp.model.entity.resbean;

import android.location.Address;
import android.location.Location;

import java.util.List;

public class HFLocationBean {
    private Location mlocation;//定位得到的
    private SelectAddressMapBean encodeLocationBean;//反编码得到的位置信息
    private List<Address> addsList;//反定理编码得到

    public HFLocationBean(Location mlocation) {
        this.mlocation = mlocation;
    }

    public HFLocationBean(SelectAddressMapBean encodeLocationBean) {
        this.encodeLocationBean = encodeLocationBean;
    }

    public HFLocationBean(SelectAddressMapBean encodeLocationBean, List<Address> addsList) {
        this.encodeLocationBean = encodeLocationBean;
        this.addsList = addsList;
    }

    public HFLocationBean(List<Address> addsList) {
        this.addsList = addsList;
    }

    public HFLocationBean(Location mlocation, List<Address> addsList) {
        this.mlocation = mlocation;
        this.addsList = addsList;
    }

    public Location getMlocation() {
        return mlocation;
    }

    public void setMlocation(Location mlocation) {
        this.mlocation = mlocation;
    }

    public SelectAddressMapBean getEncodeLocationBean() {
        return encodeLocationBean;
    }

    public void setEncodeLocationBean(SelectAddressMapBean encodeLocationBean) {
        this.encodeLocationBean = encodeLocationBean;
    }

    public List<Address> getAddsList() {
        return addsList;
    }

    public void setAddsList(List<Address> addsList) {
        this.addsList = addsList;
    }
}
